﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GmPrizedrawTool
{
    public class ReturnMsgModel
    {
        public bool status { get; set; }
        public int code { get; set; }
        public string msg { get; set; }
        public List<ServerModel> data { get; set; }
    }
    /// <summary>
    /// 服务区信息
    /// </summary>
    public class ServerModel
    {
        /// <summary>
        /// 服务区编号
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 服务区名
        /// </summary>
        public string ?ServerName { get; set; }
        /// <summary>
        /// 服务区Ip
        /// </summary>
        public string? IP { get; set; }
        /// <summary>
        /// 服务器端口
        /// </summary>
        public int Port { get; set; }
        /// <summary>
        /// 服务器状态
        /// </summary>
        public int Status { get; set; }
    }

    /// <summary>
    /// 玩家信息
    /// </summary>
    public class UserInfoModel
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        public int UserId { get; set; }
        /// <summary>
        /// 账号名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 角色ID
        /// </summary>
        public int CharId { get; set; }
        /// <summary>
        /// 角色名
        /// </summary>
        public string CharName { get; set; }
        /// <summary>
        /// 角色等级
        /// </summary>
        public int Level { get; set; }
    }
}
